package com.aaa.order.controller;

import com.aaa.order.service.UserLoginLogService;
import com.aaa.security.annotation.MyLog;
import com.aaa.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 荆豪峰
 * @version 1.0
 * #Date: 2023/3/3 16:35
 */
@Api(value = "/order/userloginlog", tags = {"#Date: 2023/3/3 16:35"})
@RestController
@RequestMapping("/order/userloginlog")
public class UserLoginLogController {

    @Autowired
    private UserLoginLogService userLoginLogService;
    /**
     * #Description 客户登录统计图远程连接
     * @param
     * @return com.aaa.vo.Result
     * @author 荆豪峰
     * #Date 2023/3/3
     */
    @ApiOperation(value = "#Description 客户登录统计图远程连接 #Date 2023/3/3", notes = "#Description 客户登录统计图远程连接 #Date 2023/3/3", httpMethod = "POST")
    @MyLog(title="客户登录统计图远程连接")
    @PostMapping("userloginlog")
    public Result servicelog(){
        return userLoginLogService.selectLogin();
    }
}
